<?php
class Man extends Person {
    protected $name = '男人';
    public function success() {
        echo "<br>{$this->name} 成功时: 背后有一个好女人<br>";
    }
    public function fail() {
        echo "<br>{$this->name} 失败时：喝闷酒，劝也劝不动<br>";
    }
}